package com.sannuo.detector.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sannuo.common.domain.MedicalResult;
import com.sannuo.detector.dao.MedicalResultMapper;
import com.sannuo.detector.service.MedicalResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class MedicalResultServiceImpl extends ServiceImpl<MedicalResultMapper, MedicalResult> implements MedicalResultService {

    @Autowired
    private MedicalResultMapper medicalResultMapper;

    @Override
    public int addMedicalResult(MedicalResult medicalResult) {
        return medicalResultMapper.addMedicalResult(medicalResult);
    }

}
